Projects each element of this view to a collection of collections, flattens the resulting collections into one collection,
and invokes a result selector function on each element therein.
Namespace:
C1.LiveLinq.LiveViewsAssembly: C1.Silverlight.LiveLinq (in C1.Silverlight.LiveLinq.dll)
Syntax
C# |
---|
public View<TResult> SelectMany<TCollection, TResult>( Expression<Func<T, ObservableCollection<TCollection>>> collectionSelector, Expression<Func<T, TCollection, TResult>> resultSelector ) |
Visual Basic |
---|
Public Function SelectMany(Of TCollection, TResult) ( _ collectionSelector As Expression(Of Func(Of T, ObservableCollection(Of TCollection))), _ resultSelector As Expression(Of Func(Of T, TCollection, TResult)) _ ) As View(Of TResult) |
Parameters
- collectionSelector
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, ObservableCollection<(Of <(<'TCollection>)>)>>)>)>>)>)>
A transform function to apply to each element of this view.
- resultSelector
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, TCollection, TResult>)>)>>)>)>
A transform function to apply to each element of the intermediate collection.
Type Parameters
- TCollection
- The type of the intermediate elements collected by collectionSelector.
- TResult
- The type of the elements of the resulting view.